<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Open SCA: frameworks/DeviceMgr/include/LoadableDevice_servant.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="customdoxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.onetek.net"><img alt="Logo" src="openscaLogo.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Open SCA
   &#160;<span id="projectnumber">Version 0.6.0</span>
   </div>
   <div id="projectbrief">Open SCA</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('_loadable_device__servant_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">LoadableDevice_servant.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_loadable_device__servant_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/***************************************************************************/</span><span class="comment">/****************************************************************************/</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#if !defined(EA_00212301_1864_43d2_9F7C_0859F454BBD0__INCLUDED_)</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#define EA_00212301_1864_43d2_9F7C_0859F454BBD0__INCLUDED_</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#include &lt;map&gt;</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_device__servant_8h.html">Device_servant.h</a>&quot;</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="struct_file_info.html">   29</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_file_info.html">FileInfo</a> {</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#ifdef __SDS_OS_VXWORKS__</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;        std::string localFile;</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;        CF::LoadableDevice::LoadType type;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> refcnt;</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;        MODULE_ID moduleID;</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;};</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;</div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="_loadable_device__servant_8h.html#a4525ae5306bdfef7be071d33c6f6ac2c">   38</a></span>&#160;<span class="keyword">typedef</span> std::map&lt;std::string, FileInfo&gt; <a class="code" href="_loadable_device__servant_8h.html#a4525ae5306bdfef7be071d33c6f6ac2c">FileMap</a>;</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="class_loadable_device__servant.html">   44</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_loadable_device__servant.html">LoadableDevice_servant</a> :          </div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="keyword">public</span> <span class="keyword">virtual</span> <a class="code" href="class_device__servant.html">Device_servant</a>,</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="keyword">public</span> <span class="keyword">virtual</span> POA_CF::LoadableDevice </div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;{</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;        <a class="code" href="class_loadable_device__servant.html">LoadableDevice_servant</a>();</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;        <a class="code" href="class_loadable_device__servant.html">LoadableDevice_servant</a>(</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;                <span class="keywordtype">char</span> * <span class="keywordtype">id</span>,</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;                <span class="keywordtype">char</span> * lbl,</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;                <span class="keywordtype">char</span> * sftwfrl);</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;        ~<a class="code" href="class_loadable_device__servant.html">LoadableDevice_servant</a>();</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;        <span class="keywordtype">void</span></div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;        configure(</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;            <span class="keyword">const</span> CF::Properties &amp; configProperties)</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;        <span class="keywordflow">throw</span> (</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;            CF::PropertySet::PartialConfiguration,</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;            CF::PropertySet::InvalidConfiguration,</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;            CORBA::SystemException);</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;        <span class="keywordtype">void</span></div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;        load(</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;            CF::FileSystem_ptr fs,</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;            <span class="keyword">const</span> <span class="keywordtype">char</span> * fileName,</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;            CF::LoadableDevice::LoadType loadKind)</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;        <span class="keywordflow">throw</span> (</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;            CF::LoadableDevice::LoadFail,</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;            CF::InvalidFileName,</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;            CF::LoadableDevice::InvalidLoadKind,</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;            CF::Device::InvalidState,</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;            CORBA::SystemException);</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;</div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;        <span class="keywordtype">void</span></div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;        unload(</div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;            <span class="keyword">const</span> <span class="keywordtype">char</span> * fileName)</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;        <span class="keywordflow">throw</span> (</div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;            CF::InvalidFileName,</div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;            CF::Device::InvalidState,</div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;            CORBA::SystemException);</div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;</div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="class_loadable_device__servant.html#a1accf43910290279f13e2d9b04ebabb7">  163</a></span>&#160;        <a class="code" href="_loadable_device__servant_8h.html#a4525ae5306bdfef7be071d33c6f6ac2c">FileMap</a> <a class="code" href="class_loadable_device__servant.html#a1accf43910290279f13e2d9b04ebabb7">m_fmap</a>;</div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;        <a class="code" href="class_loadable_device__servant.html">LoadableDevice_servant</a>(<a class="code" href="class_loadable_device__servant.html">LoadableDevice_servant</a>&amp; prm1);</div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;</div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;};</div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;<span class="preprocessor">#endif // !defined(EA_00212301_1864_43d2_9F7C_0859F454BBD0__INCLUDED_)</span></div><div class="ttc" id="struct_file_info_html"><div class="ttname"><a href="struct_file_info.html">FileInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="_loadable_device__servant_8h_source.html#l00029">LoadableDevice_servant.h:29</a></div></div>
<div class="ttc" id="_device__servant_8h_html"><div class="ttname"><a href="_device__servant_8h.html">Device_servant.h</a></div><div class="ttdoc">:  </div></div>
<div class="ttc" id="class_loadable_device__servant_html_a1accf43910290279f13e2d9b04ebabb7"><div class="ttname"><a href="class_loadable_device__servant.html#a1accf43910290279f13e2d9b04ebabb7">LoadableDevice_servant::m_fmap</a></div><div class="ttdeci">FileMap m_fmap</div><div class="ttdef"><b>Definition:</b> <a href="_loadable_device__servant_8h_source.html#l00163">LoadableDevice_servant.h:163</a></div></div>
<div class="ttc" id="class_device__servant_html"><div class="ttname"><a href="class_device__servant.html">Device_servant</a></div><div class="ttdoc">A device is a type of resource and has all the requirements associated with the Resource interface...</div><div class="ttdef"><b>Definition:</b> <a href="_device__servant_8h_source.html#l00046">Device_servant.h:46</a></div></div>
<div class="ttc" id="_loadable_device__servant_8h_html_a4525ae5306bdfef7be071d33c6f6ac2c"><div class="ttname"><a href="_loadable_device__servant_8h.html#a4525ae5306bdfef7be071d33c6f6ac2c">FileMap</a></div><div class="ttdeci">std::map&lt; std::string, FileInfo &gt; FileMap</div><div class="ttdef"><b>Definition:</b> <a href="_loadable_device__servant_8h_source.html#l00038">LoadableDevice_servant.h:38</a></div></div>
<div class="ttc" id="class_loadable_device__servant_html"><div class="ttname"><a href="class_loadable_device__servant.html">LoadableDevice_servant</a></div><div class="ttdoc">This interface extends the Device interface by adding software loading and unloading behavior to a de...</div><div class="ttdef"><b>Definition:</b> <a href="_loadable_device__servant_8h_source.html#l00044">LoadableDevice_servant.h:44</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.13-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_27e7b6da28153e106312658788f622d3.html">frameworks</a></li><li class="navelem"><a class="el" href="dir_96d2e878d6d5ca438f56939d43d9e660.html">DeviceMgr</a></li><li class="navelem"><a class="el" href="dir_d6f3fdb5a324744637bb1c937c48df12.html">include</a></li><li class="navelem"><a class="el" href="_loadable_device__servant_8h.html">LoadableDevice_servant.h</a></li>
    <li class="footer">Generated on Fri Jul 12 2019 14:31:51 for
    <a href="http://www.onetek.net">
    <img class="footer" src="openscaLogo.png" height="31" alt="openSCA"/></a>
    </li>
  </ul>
</div>
</body>
</html>
